#ifndef INDEX_H
#define INDEX_H

#include <QWidget>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QGridLayout>
#include <QListWidget>
#include "GrapChart.h"
#include "Network.h"

class Index:public QWidget
{
    Q_OBJECT
public:
    Index(QWidget *parent=nullptr);
    ~Index();
void  Additem_tast(QWidget* Tast_tast);
void Additem_message(QWidget* Tast_message);
void Additem_countChart(QWidget* Tast_countChart);
public slots:

signals:
private:
    QList<QListWidgetItem> m_chart;
    QList<QListWidgetItem> m_task;
    QList<QListWidgetItem> m_mesg;
    QTimer *qtime;
 SplineChar *chart;
 QGridLayout *grid;
 QVBoxLayout *chart_Vbox;
 QVBoxLayout *Vbox;
 QHBoxLayout *Start_Hbox;
 QHBoxLayout *Tast_Hbox;
};

#endif // INDEX_H
